package com.xlh.service.conclude;

import com.xlh.dto.conclude.*;
import com.xlh.enums.conclude.LikedSysFunkEnum;
import com.xlh.vo.conclude.CheckListInfoVO;

import java.util.List;
import java.util.Map;

public interface ConcludeCheckService {

    /**
     * 检查项列表展示
     * @param concludeId
     * @return
     */
    List<CheckListInfoVO> list(Long concludeId);

    /**
     * 考核项添加
     * @param dto
     * @return
     */
    Long add(ConcludeCheckAddDTO dto);

    /**
     * 考核项修改
     * @param dto
     * @return
     */
    Long update(ConcludeCheckAddDTO dto);

    /**
     * 权重值设置
     * @param dtos
     */
    void setWeight(List<ConcludeCheckWeightDTO> dtos);


    /**
     * 考核项的删除
     * @param dto
     */
    void delete(ConcludeParamDTO dto);


    /**
     * 考核项详情
     * @param checkId
     * @return
     */
    ConcludeCheckDetailDTO detail(Long checkId);

    /**
     * 查询系统关联的考核项信息
     * @return
     */
    List<Map<String, Object>> findLinkSysInfo();
}
